package com.neuedu.model;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class Paper {
	private int paperNo;
	private String title;
	private PaperType paperType;
	private String author;
	private String content;
	private String unit;
	@JSONField(format="yyyy/MM/dd HH:mm:ss")	
	private Date posttime;
	private String origin;
	public int getPaperNo() {
		return paperNo;
	}
	public void setPaperNo(int paperNo) {
		this.paperNo = paperNo;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public PaperType getPaperType() {
		return paperType;
	}
	public void setPaperType(PaperType paperType) {
		this.paperType = paperType;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public Date getPosttime() {
		return posttime;
	}
	public void setPosttime(Date posttime) {
		this.posttime = posttime;
	}
	public String getOrigin() {
		return origin;
	}
	public void setOrigin(String origin) {
		this.origin = origin;
	}
	public Paper(int paperNo, String title, PaperType paperType, String author, String content, String unit,
			Date posttime, String origin) {
		super();
		this.paperNo = paperNo;
		this.title = title;
		this.paperType = paperType;
		this.author = author;
		this.content = content;
		this.unit = unit;
		this.posttime = posttime;
		this.origin = origin;
	}
	public Paper() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
}
